#ifndef Player_h
#define Player_h

#include <cmath>

#include "Object.h"
#include "Vector2.h"

#define PI 3.14159265

class Player
{
static unsigned int m_player_count;
public:
	Player();
	~Player();

	static void reset();

	Vector2 getAim();
	int getHP();
	int getPlayerNumber();
	int getScore();
	Object* getPlanet();

	unsigned char getRed();
	unsigned char getGreen();
	unsigned char getBlue();

	void setColor(unsigned char p_red, unsigned char p_green, unsigned char p_blue);
	void setPlanet(Object *p_planet);

	void aim(double p_degrees);
	void aimIP(double p_degrees);

protected:
	unsigned int m_player_number;
	double m_aim;
	Object *m_planet;

	unsigned char m_red;
	unsigned char m_green;
	unsigned char m_blue;
};

#endif //Player_h
